﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

#if WPF
using Silverlight.Hosting.Wpf.Interop;
using EventArgs = System.Windows.RoutedEventArgs;

namespace Silverlight.Hosting.Wpf.Private
#else
using Silverlight.Hosting.Interop;

namespace Silverlight.Hosting.Private
#endif
{
    internal interface IXcpContainerProxy
    {
        void InvokeBaseOnCreated(EventArgs e);
        void InvokeBaseOnSilverlightLoaded(EventArgs e);
        void InvokeBaseOnSilverlightError(SilverlightErrorEventArgs e);
        void InvokeBaseOnSilverlightEvent(SilverlightEventArgs e);
        void InvokeBaseOnSourceDownloadComplete(EventArgs e);
        void InvokeBaseOnSourceDownloadProgressChanged(SourceDownloadProgressChangedEventArgs e);
        void InvokeBaseOnContentLoaded(EventArgs e);
        void InvokeBaseOnContentError(ErrorEventArgs e);
        void InvokeBaseOnContentZoomed(EventArgs e);
        void InvokeBaseOnContentResized(EventArgs e);
        void InvokeBaseOnFullScreenChanged(EventArgs e);
        DownloadResult InvokeBaseDownloadUrl(string url, IDownloadUrlCallback callback, out Stream stream);
    }
}
